package ExperimentFour.ChainOfResponsibility;

/**
 * @author 北巷_东坡
 * @date 2022/11/15 20:43
 * @computer 10741
 */
public class Client206 {
    public static void main(String[] args) {
        Handler206 h1,h2,h3;
        h1 = new DFDHandler206();
        h2 = new ERHandler206();
        h3 = new UMLHandler206();

        h1.setSuccessor(h2);
        h3.setSuccessor(h3);

        h3.doHandlerRequest("UML");

    }
}
